package com.peanut.huibutie.entity;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 描    述：员工积分回收
 * 创 建 者：zhuzhibin
 * 创建时间：2024/11/29 17:29
 */
@Data
public class EmployeeRecycleQuotaDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 员工编号
     */
    @NotBlank(message = "员工编号不可为空")
    private String employeeNo;

    /**
     * 回收金额
     */
    @NotNull(message = "回收金额不可为空")
    private Long amt;

    /**
     * 产品线ID
     */
    @NotNull(message = "产品线ID不可为空")
    private Long packageId;


    /**
     * 回收原因
     */
    @NotBlank(message = "回收原因不可为空")
    private String cause;

}
